/*
 * Copyright 2008 Federal Emergency Management Agency
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 *    http://www.apache.org/licenses/LICENSE-2.0 
 *    
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and 
 * limitations under the License. 
 *  
 */
package gov.fema.hazus.bdc.shared.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class WindHazard implements Serializable {

	@Id Long id;
	private static final long serialVersionUID = -7196235624538264287L;
	
	private String exposure;
	private String topography;
	private String shielding;
	private String shieldingHeight;
	private String debrisSource;
	
	// constants
	public static final String EXPOSURE = "exposure";
	public static final String TOPOGRAPHY = "topography";
	public static final String SHIELDING = "shielding";
	public static final String SHIELDINGHEIGHT = "shielding height";
	public static final String DEBRISSOURCE = "debris source";
	
	public WindHazard()
	{
		
	}
	
	public String getDebrisSource() {
		return debrisSource;
	}

	public void setDebrisSource(String debrisSource) {
		this.debrisSource = debrisSource;
	}

	public String getExposure() {
		return exposure;
	}

	public void setExposure(String exposure) {
		this.exposure = exposure;
	}

	public String getShielding() {
		return shielding;
	}

	public void setShielding(String shielding) {
		this.shielding = shielding;
	}

	public String getShieldingHeight() {
		return shieldingHeight;
	}

	public void setShieldingHeight(String shieldingHeight) {
		this.shieldingHeight = shieldingHeight;
	}

	public String getTopography() {
		return topography;
	}

	public void setTopography(String topography) {
		this.topography = topography;
	}

	public String toString()
	{
		String str = "";
		str += "[wind-hazard";
		str += "[exposure="+this.exposure+"]";
		str += "[topography="+this.topography+"]";
		str += "[shielding="+this.shielding+"]";
		str += "[shielding-height="+this.shieldingHeight+"]";
		str += "[debris-source="+this.debrisSource+"]";
		str += "]";
		return str;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}		
	
}
